﻿using DotNet.Utilities;
using JinfuyuanProject.Entity;
using JinfuyuanProject.Entity.Filter;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace JinfuyuanProject.Service.Interface
{
    public interface ISalaryService
    {
        /// <summary>
        /// 获取学生列表
        /// </summary>
        /// <returns></returns>
        IQueryable<Salary> GetList();
        /// <summary>
        /// 获取学生信息
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Salary GetModel(int Id);
        /// <summary>
        /// 删除学生
        /// </summary>
        /// <param name="Salary"></param>
        /// <returns></returns>
        bool Delete(Salary Salary);
        /// <summary>
        /// 添加学生
        /// </summary>
        /// <param name="Salary"></param>
        /// <returns></returns>
        int Insert(Salary Salary);
        bool Update(Salary Salary);
        ResMessage GetSalaryList(SalaryFilter filter);
        ResMessage GetSalaryDetailsList(SalaryFilter filter, int s_id);
        Salary Query(SalaryFilter filter);

        Hashtable GenerateSalaryExcel(string filePath = null);
    }
}
